package pharmacy

class DrugComponent {
    int weight;
    static belongsTo=[drug:Drug,chemical:ChemicalCompound];
    static constraints = {
        weight(notNull:true, min:0);
    }
}
